package com.example.chentian.startprojectcjy313.service;

import com.example.chentian.startprojectcjy313.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by chentian on 21/03/2017.
 */

public interface WeatherService {
    @GET("data/sk/{cityNumber}.html")
        //向API传参数
    Call<WeatherResult> getResult(@Path("cityNumber") String cityNumber);
}
